<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!-- header -->
<div class="header clearfix">
	<div class="status">
		<a href="http://www.suirichlighting.com">Homepage</a> | 
		<a href="javascript:void(0);" onclick="javascript:utils.addBookmark('SuiRich LED Lighting','http://www.suirichlighting.com')">Add Favorite</a>
	</div>
	<h1 class="logo"><a href="javascript:void(0);"><img src="<%=request.getContextPath() %>/images/logo.png"/></a></h1>
	<ul class="nav clearfix">
		<li id="homeMenu" class="selected"><a href="http://www.suirichlighting.com">Home</a></li>
		<li id="aboutMenu"><a href="<%=request.getContextPath() %>/about">About us</a></li>
		<li id="productsMenu"><a href="<%=request.getContextPath() %>/products">Products</a></li>
		<li id="jobReferenceMenu"><a href="<%=request.getContextPath() %>/jobReference">Job Reference</a></li>
		<li id="enquiryMenu"><a href="<%=request.getContextPath() %>/enquiry">Enquiry</a></li>
		<li id="contactMenu"><a href="<%=request.getContextPath() %>/contact">Contact us</a></li>
	</ul>
</div>
<script type="text/javascript">
    $('#homeMenu').removeClass('selected');

    var currentUrl = location.href;
    if(currentUrl.indexOf("about")>0){
        $('#aboutMenu').addClass('selected');
    }else if(currentUrl.indexOf("products")>0){
        $('#productsMenu').addClass('selected');
    }else if(currentUrl.indexOf("jobReference")>0){
        $('#jobReferenceMenu').addClass('selected');
    }else if(currentUrl.indexOf("enquiry")>0){
        $('#enquiryMenu').addClass('selected');
    }else if(currentUrl.indexOf("contact")>0){
        $('#contactMenu').addClass('selected');
    }else{
        $('#homeMenu').addClass('selected');
    }
</script>
<!-- ad -->
<div class="adAutoPlay" id="homeAd">
	<a href="javascript:void(0);" id="homeAd1Link" target="_blank"><img id="homeAd1Img" src=""/></a>
	<a href="javascript:void(0);" id="homeAd2Link" target="_blank"><img id="homeAd2Img" src=""/></a>
	<a href="javascript:void(0);" id="homeAd3Link" target="_blank"><img id="homeAd3Img" src=""/></a>
</div>